package com.meida.module.bus.provider.handler;


import com.meida.common.base.entity.EntityMap;
import com.meida.common.mybatis.interceptor.PageInterceptor;
import com.meida.common.mybatis.model.PageParams;
import com.meida.common.mybatis.query.CriteriaQuery;
import com.meida.module.user.client.entity.AppUser;
import org.springframework.stereotype.Component;

/**
 * 邀请记录
 */
@Component
public class AppUserInvitePageListHandler implements PageInterceptor<AppUser> {


    @Override
    public void prepare(CriteriaQuery<AppUser> cq, PageParams pageParams, EntityMap params) {
        cq.eq(AppUser.class, "inviterId");
    }
}
